import { Card } from "antd";
import React from "react";
import "./zc_card.module.css"

const ZCCard = ({ children, bodyStyle = {}, ...props }) => {
    return (

        <Card
            bordered={false}
            style={{
                height: "100%"
            }}

            bodyStyle={{
                backgroundColor: "#f7f8fa",
                height: "100%",
                display: "flex",
                flexDirection: "column",
                ...bodyStyle
            }}
            {...props}
        >
            {children}
        </Card>

    )
}
export default ZCCard;